package main

import (
	"github.com/julienschmidt/httprouter"
	"net/http"
	"video/scheduler/taskrunner"
)

func Registerhandlers() *httprouter.Router {
	router := httprouter.New()
	router.GET("/video-delete-record/:video-name", vidDelRecHandler)
	return router
}

func main() {
	go taskrunner.Start()
	r := Registerhandlers()
	http.ListenAndServe(":9001", r)
}
